package com.cf.proxy;

import com.cf.proxy.model.service.ProxyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * boot-awm-ProxyConfig
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/11 上午 10:53
 */
@Slf4j
@Configuration
@EnableConfigurationProperties(ProxyProperty.class)
public class ProxyConfig {


    @Bean
    public ProxyService proxyService() {
        log.info("实例化ProxyService");
        return new ProxyService();
    }


}
